package com.dmw.service;

import com.dmw.dto.Dto;
import com.dmw.service.impl.SearchConsumerServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "p-search",fallback= SearchConsumerServiceImpl.class)
public interface SearchConsumerService {

    @PostMapping("/queryItemList")
    public Dto queryItemList(@RequestBody Map<String,Object> map);

}
